package com.simon.gpsinfo;

import java.text.SimpleDateFormat;
import java.util.Calendar;
import java.util.TimeZone;

public class GpsDate {
	private static final String DATE_FORMAT_NOW = "yyyy-MM-dd HH:mm:ss";

	/**
	 * Class to manage date
	 * 
	 * @param args
	 * 
	 */
	public static void main(String[] args) {

	}

	public static String getDate() {

		Calendar cal = Calendar.getInstance();
		cal.setTimeInMillis(System.currentTimeMillis() + (3600 * 2 * 1000));

		String format = "dd/MM h:mm a";
		SimpleDateFormat sdf = new SimpleDateFormat(format);
		String dateString = sdf.format(cal.getTime());

		return "" + (System.currentTimeMillis() + (3600 * 2 * 1000));

	}

}
